package com.scalar.chiptrack.operations.reports.actionCommands;

import com.scalar.chiptrack.actioncommands.ActionCommand;

import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForm;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import java.util.HashMap;

/**
 * Created by Veeru.
 * Date: Oct 19, 2005
 * Time: 11:12:53 AM
 */

public class DataDumpAssemblyReportSearchActionCommand extends ActionCommand
{
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception
    {
        HashMap errors = ( HashMap )request.getAttribute ( ERROR_MESSAGES );
        request.setAttribute( "reportType", ACTION_DATA_DUMP_ASSEMBLY_REPORT );
        return mapping.findForward( "dataDumpSearch" );
    }
}
